package com.complex.spring.advance.aop.aspectj;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		ApplicationContext text = new ClassPathXmlApplicationContext("aop/spring-aop-aspect.xml");
		Foo foo = (Foo)text.getBean("target");
		foo.method1("11111");
		foo.method2(22222);
	}
}
